package com.free.lazy.common.enums;

import lombok.Getter;
import lombok.Setter;

@Getter
public enum ConstResponseEnum {
    SUCCESS(2000, "success"),
    FAIL(4000, "fail"),
    ERROR(5000, "error"),
    NOT_FOUND(4004, "not_found"),
    UNAUTHORIZED(4001, "unauthorized"),
    FORBIDDEN(4003, "forbidden"),
    NOT_ACCEPTABLE(4006, "not_acceptable"),
    NOT_SUPPORTED(4007, "not_supported"),
    NOT_ALLOWED(4008, "not_allowed"),
    NOT_ALLOWED_METHOD(4009, "not_allowed_method"),
    NOT_ALLOWED_PARAM(4010, "not_allowed_param"),
    NOT_ALLOWED_HEADER(4011, "not_allowed_header"),
    NOT_ALLOWED_BODY(4012, "not_allowed_body"),
    NOT_ALLOWED_QUERY(4013, "not_allowed_query"),
    NOT_ALLOWED_PATH(4014, "not_allowed_path"),
    NOT_ALLOWED_COOKIE(4015, "not_allowed_cookie"),
    NOT_ALLOWED_FILE(4016, "not_allowed_file"),
    NOT_ALLOWED_FILE_TYPE(4017, "not_allowed_file_type"),
    NOT_ALLOWED_FILE_SIZE(4018, "not_allowed_file_size"),
    NOT_ALLOWED_FILE_COUNT(4019, "not_allowed_file_count"),
    NOT_ALLOWED_FILE_NAME(4020, "not_allowed_file_name"),
    NOT_ALLOWED_FILE_EXTENSION(4021, "not_allowed_file_extension"),
    NOT_ALLOWED_FILE_CONTENT(4022, "not_allowed_file_content"),
    NOT_ALLOWED_FILE_CONTENT_TYPE(4023, "not_allowed_file_content_type");

    private final int code;
    private final String message;

    ConstResponseEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

}